VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / ManagedBitmap Class / ManagedBitmap Constructors / ManagedBitmap Constructor(Int32,Int32,Int32,Byte[],Resolution,PixelFormat,Palette)
Syntax Exceptions Requirements SeeAlso
In This Topic
ManagedBitmap Constructor(Int32,Int32,Int32,Byte[],Resolution,PixelFormat,Palette)
In This Topic
Initializes a new instance of the ManagedBitmap class.
Syntax
'Declaration

Public Function New( _
ByVal width
Image width.
As Integer, _
ByVal height
Image height.
As Integer, _
ByVal stride
Image data stride.
As Integer, _
ByVal pixelData
Image pixel data.
() As Byte, _
ByVal resolution
Image resolution.
As Resolution, _
ByVal pixelFormat
Image pixel format.
As PixelFormat, _
ByVal palette
Image palette.
As Palette _
)

Parameters

width
Image width.
height
Image height.
stride
Image data stride.
pixelData
Image pixel data.
resolution
Image resolution.
pixelFormat
Image pixel format.
palette
Image palette.
Exceptions
ExceptionDescription
Thrown if pixelData does NOT have enough data for specified bitmap.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also